<%@ page import="study.itheima.bean.Stu" %>
<%@ page import="java.util.ArrayList" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>查看学生</title>
</head>
<body>
<table align="center" width="600px" border="1px">
    <tr>
        <th>学生姓名</th>
        <th>学生年龄</th>
        <th>学生成绩</th>
    </tr>
    <c:forEach items="${stu}" var="li">
        <tr align="center" >
        <td>${li.stuname}</td>
        <td>${li.stuage}</td>
        <td>${li.stuscore}</td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
